﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012F3 RID: 4851
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueCommonVirtualItemInfoScNotify : IMessage<SyncRogueCommonVirtualItemInfoScNotify>, IMessage, IEquatable<SyncRogueCommonVirtualItemInfoScNotify>, IDeepCloneable<SyncRogueCommonVirtualItemInfoScNotify>, IBufferMessage
	{
		// Token: 0x17003D42 RID: 15682
		// (get) Token: 0x0600D938 RID: 55608 RVA: 0x002466CB File Offset: 0x002448CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueCommonVirtualItemInfoScNotify> Parser
		{
			get
			{
				return SyncRogueCommonVirtualItemInfoScNotify._parser;
			}
		}

		// Token: 0x17003D43 RID: 15683
		// (get) Token: 0x0600D939 RID: 55609 RVA: 0x002466D2 File Offset: 0x002448D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueCommonVirtualItemInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D44 RID: 15684
		// (get) Token: 0x0600D93A RID: 55610 RVA: 0x002466E4 File Offset: 0x002448E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueCommonVirtualItemInfoScNotify.Descriptor;
			}
		}

		// Token: 0x0600D93B RID: 55611 RVA: 0x002466EB File Offset: 0x002448EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueCommonVirtualItemInfoScNotify()
		{
		}

		// Token: 0x0600D93C RID: 55612 RVA: 0x002466FE File Offset: 0x002448FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueCommonVirtualItemInfoScNotify(SyncRogueCommonVirtualItemInfoScNotify other) : this()
		{
			this.commonItemInfo_ = other.commonItemInfo_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D93D RID: 55613 RVA: 0x00246728 File Offset: 0x00244928
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueCommonVirtualItemInfoScNotify Clone()
		{
			return new SyncRogueCommonVirtualItemInfoScNotify(this);
		}

		// Token: 0x17003D45 RID: 15685
		// (get) Token: 0x0600D93E RID: 55614 RVA: 0x00246730 File Offset: 0x00244930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueCommonVirtualItemInfo> CommonItemInfo
		{
			get
			{
				return this.commonItemInfo_;
			}
		}

		// Token: 0x0600D93F RID: 55615 RVA: 0x00246738 File Offset: 0x00244938
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueCommonVirtualItemInfoScNotify);
		}

		// Token: 0x0600D940 RID: 55616 RVA: 0x00246746 File Offset: 0x00244946
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueCommonVirtualItemInfoScNotify other)
		{
			return other != null && (other == this || (this.commonItemInfo_.Equals(other.commonItemInfo_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D941 RID: 55617 RVA: 0x0024677C File Offset: 0x0024497C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.commonItemInfo_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D942 RID: 55618 RVA: 0x002467B0 File Offset: 0x002449B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D943 RID: 55619 RVA: 0x002467B8 File Offset: 0x002449B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D944 RID: 55620 RVA: 0x002467C1 File Offset: 0x002449C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.commonItemInfo_.WriteTo(ref output, SyncRogueCommonVirtualItemInfoScNotify._repeated_commonItemInfo_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D945 RID: 55621 RVA: 0x002467E8 File Offset: 0x002449E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.commonItemInfo_.CalculateSize(SyncRogueCommonVirtualItemInfoScNotify._repeated_commonItemInfo_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D946 RID: 55622 RVA: 0x00246821 File Offset: 0x00244A21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueCommonVirtualItemInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.commonItemInfo_.Add(other.commonItemInfo_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D947 RID: 55623 RVA: 0x0024684F File Offset: 0x00244A4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D948 RID: 55624 RVA: 0x00246858 File Offset: 0x00244A58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.commonItemInfo_.AddEntriesFrom(ref input, SyncRogueCommonVirtualItemInfoScNotify._repeated_commonItemInfo_codec);
				}
			}
		}

		// Token: 0x04005674 RID: 22132
		private static readonly MessageParser<SyncRogueCommonVirtualItemInfoScNotify> _parser = new MessageParser<SyncRogueCommonVirtualItemInfoScNotify>(() => new SyncRogueCommonVirtualItemInfoScNotify());

		// Token: 0x04005675 RID: 22133
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005676 RID: 22134
		public const int CommonItemInfoFieldNumber = 8;

		// Token: 0x04005677 RID: 22135
		private static readonly FieldCodec<RogueCommonVirtualItemInfo> _repeated_commonItemInfo_codec = FieldCodec.ForMessage<RogueCommonVirtualItemInfo>(66U, RogueCommonVirtualItemInfo.Parser);

		// Token: 0x04005678 RID: 22136
		private readonly RepeatedField<RogueCommonVirtualItemInfo> commonItemInfo_ = new RepeatedField<RogueCommonVirtualItemInfo>();
	}
}
